package com.hx.myblog3.repository;

import org.springframework.data.repository.Repository;

import com.hx.myblog3.entity.User;

public interface UserRepo extends Repository<User, Integer> {
	User findOne(Integer id);
	User findByUserNameAndPassword(String name,String password);

}
